<div class="panel panel-default m-prizeList">
    <div class="panel-heading">
        <h3 class="panel-title">奖品列表</h3>
    </div>
    <div class="panel-body">
        <table class="table table-bordered">
            <thead>
            <tr>
                <th>奖品ID</th>
                <th>奖品图片</th>
                <th>奖品标题</th>
                <th>奖品类型</th>
                <th>奖品数量</th>
                <th>中奖概率</th>
                <th>奖品权重</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr v-for="(prize,index) in prizes">
                <th>{{prize.id}}</th>
                <td><img :src="prize.iconUrl" class="iconUrl"/></td>
                <td>{{prize.title}}</td>
                <td>广告优惠券</td>
                <td>{{prize.num}}</td>
                <td>{{prize.rate}}</td>
                <td>{{prize.weight}}</td>
                <td><a href="javascript:;" v-on:click="modifyPrize(prize,index)">编辑</a></td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
